class VideoTagBean {
  final String name;
  final String tag;

  VideoTagBean({required this.name, required this.tag});

  // 从JSON创建对象的工厂构造函数
  factory VideoTagBean.fromJson(Map<String, dynamic> json) {
    return VideoTagBean(name: json['name'] ?? '', tag: json['tag'] ?? '');
  }

  // 将对象转换为JSON
  Map<String, dynamic> toJson() {
    return {'name': name, 'tag': tag};
  }

  @override
  String toString() {
    return 'VideoTagBean{name: $name,  tag: $tag, }';
  }
}
